import Vue from 'vue'
import App from './App.vue'
// import router from './router/index.js'
//   router.js   ===>  router ==>  index.js  ==> package.json  main 
// router   new VueRouter  实例 
import router,{a} from './router'
import './plugins/element.js'

console.log(a)

//   webpack   模块化打包机    每一个文件都是一个模块
//   模块是  封闭作用域空间 

import test from './components/test1.vue'

console.log(test)
Vue.use(test)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
